package media

import (
	"github.com/gin-gonic/gin"
	apis "vrcm/src/vrcm/app/admin/apis/media"
	"vrcm/src/vrcm/app/admin/router"
)

func init() {
	router.NoCheckRole = append(router.NoCheckRole, registerLikesRouter)
}

// registerLikesRouter
func registerLikesRouter(v1 *gin.RouterGroup) {
	api := apis.Media{}
	r := v1.Group("/media")
	{
		r.POST("/create-ai-audit", api.CreateAIAssetAudit)
		r.POST("/get-audit-statistic-by-asset", api.GetAuditStatisticByAsset)
		r.POST("/get-audit-statistic-by-type", api.GetAuditStatisticByType)
		r.POST("/audit-callback", api.LongVideoAuditResultCallBack)
		r.POST("/update-audit-state", api.UpdateAuditState)
		r.POST("/get-history-by-asset", api.GetAuditHistoryByAsset)
		r.POST("/get-audit", api.GetAudit)
		r.POST("/delete-asset-audit", api.DeleteAssetAudit)
		r.POST("/get-audit-static", api.GetMediaAssetAuditStatic)
	}
}
